home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
- <stack>
- <name>in</name>
- <id>-1</id>
- <cardCount>27</cardCount>
- <cardID>3013</cardID>
- <listID>8343</listID>
- <cantModify><false /></cantModify>
- <cantDelete><false /></cantDelete>
- <cantAbort><false /></cantAbort>
- <cardSize>
- <width>576</width>
- <height>400</height>
- </cardSize>
- <script>-- ***
- on openStack
- show groups
- setCode
- end openStack
-
- -- ***
- on closeStack
- resetStack
- end closeStack
-
- -- ***
- on setCode
- global codeStatus
-
- put "help" into codeStatus
- end setCode
-
- -- ***
- on mouseUp
- end mouseUp
-
- -- ***
- on openBackground
- global codeStatus
-
- set hilite of bg btn "help" to FALSE
- set hilite of bg btn "edit" to FALSE
- set hilite of bg btn codeStatus to TRUE
- set lockText of fld "source" to codeStatus is "help"
- set visible of fld "help" to codeStatus is "help"
- end openBackground
-
- -- ***
- on openCard
- global codeTemp
-
- put fld "source" into codeTemp
- end openCard
-
- -- ***
- on closeCard
- global codeTemp
-
- put codeTemp into fld "source"
- end closeCard
-
-
-
-
- -- ***
- on resetStack
- hide groups
- lock screen
- repeat with i =1 to number of bgs
- go to bg i
- set cursor to busy
- hide bg btn "selectedCat"
- hide bg btn "selectedBox"
- set hilite of bg btn "Help" to TRUE
- set hilite of bg btn "Edit" to FALSE
- set lockText of fld "source" to TRUE
- set visible of fld "help" to TRUE
- end repeat
- repeat with i =1 to number of cds
- go to cd i
- set cursor to busy
- set scroll of fld "source" to 0
- end repeat
- end resetStack
-
- -- ***
- on moveCat
- global info411
-
- if short name of target is not short name of this cd then
- set loc of bg btn "selectedCat" to loc of target
- show bg btn "selectedCat"
- lock screen
- hide bg btn "selectedBox"
- if short name of target is not short name of this bg
- then go to cd "start"
- set loc of bg btn "selectedCat" to loc of target
- show bg btn "selectedCat"
- unlock screen with wipe left
- lock screen
- go to cd short name of target
- set loc of bg btn "selectedCat" to loc of target
- show bg btn "selectedCat"
- put cd fld "the 411 info" into info411
- unlock screen with wipe right
- end if
- end moveCat
-
- -- ***
- on moveSub
- if short name of target is not short name of this cd then
- set loc of bg btn "selectedBox" to loc of target
- lock screen
- show bg btn "selectedBox"
- unlock screen
- lock screen
- go to cd short name of target
- unlock screen with wipe right
- end if
- end moveSub
-
- -- ***
- on lookUp
- global info411
-
- put clickText() into theWord
- put find411 (info411, theWord) into foundText
- if foundText is SPACE then beep
- else
- lock screen
- go to stack "Comm Toolbox Calls" in a new window
- put foundText into cd fld "Text"
- unlock screen
- end if
- end lookUp
-
- -- ***
- function find411 theFld, theWd
- if theWd is not EMPTY then
- put "√¶KY" && theWd into theWd
- put offset(theWd, theFld) into firstChar
- if firstChar > 0 then
- put offset("•", char firstChar to length of theFld of theFld) -2¬
- into captureLength
- return char firstChar+4 to firstChar+captureLength of theFld
- end if
- end if
- return SPACE
- end find411
-
-
- -- ***
- on setCodeStatus turnOn, turnOff
- global codeStatus
-
- set hilite of bg btn turnOn to TRUE
- set hilite of bg btn turnOff to FALSE
- set lockText of fld "source" to turnOn is "help"
- set visible of fld "help" to turnOn is "help"
- put turnOn into codeStatus
- end setCodeStatus
-
-
-
-
-
- -- ***
- on goNext
- lock screen
- if short name of this cd is short name of this bg then
- go next bg
- if "Start" is in short name of this bg then go next bg
- set loc of bg btn "selectedCat" to loc of fld short name of this bg
- else
- go next cd
- if short name of this cd is short name of this bg then go to cd 2 of prev bg
- set loc of bg btn "selectedBox" to loc of fld short name of this cd
- unlock screen with wipe right
- end if
- end goNext
-
- -- ***
- on goPrev
- lock screen
- if short name of this cd is short name of this bg then
- go to cd 1 of prev bg
- if "Start" is in short name of this bg then go to cd 1 of prev bg
- set loc of bg btn "selectedCat" to loc of fld short name of this bg
- else
- go prev cd
- if short name of this cd is short name of this bg then go to last cd of this bg
- set loc of bg btn "selectedBox" to loc of fld short name of this cd
- unlock screen with wipe left
- end if
- end goPrev
-
-
-
- -- ***
- on blank
- put EMPTY into fld "source"
- openCard
- end blank</script>
- <background id="2117" file="background_2117.xml" name="Initialization" />
- <background id="2609" file="background_2609.xml" name="Start" />
- <background id="4094" file="background_4094.xml" name="terminal" />
- <background id="5862" file="background_5862.xml" name="Configuring" />
- <background id="7555" file="background_7555.xml" name="Callbacks" />
- <background id="8636" file="background_8636.xml" name="event" />
- <card id="3013" file="card_3013.xml" marked="false" name="Start" owner="2609" />
- <card id="2504" file="card_2504.xml" marked="false" name="Initialization" owner="2117" />
- <card id="14493" file="card_14493.xml" marked="false" name="Gestalt" owner="2117" />
- <card id="14809" file="card_14809.xml" marked="false" name="Init Mgr" owner="2117" />
- <card id="4211" file="card_4211.xml" marked="false" name="terminal" owner="4094" />
- <card id="4769" file="card_4769.xml" marked="false" name="Structure" owner="4094" />
- <card id="5073" file="card_5073.xml" marked="false" name="Default" owner="4094" />
- <card id="5143" file="card_5143.xml" marked="false" name="Document" owner="4094" />
- <card id="15049" file="card_15049.xml" marked="false" name="saving" owner="4094" />
- <card id="5515" file="card_5515.xml" marked="false" name="Disposing" owner="4094" />
- <card id="5945" file="card_5945.xml" marked="false" name="Configuring" owner="5862" />
- <card id="6449" file="card_6449.xml" marked="false" name="Choose" owner="5862" />
- <card id="6861" file="card_6861.xml" marked="false" name="Custom" owner="5862" />
- <card id="6947" file="card_6947.xml" marked="false" name="Configuration Strings" owner="5862" />
- <card id="7414" file="card_7414.xml" marked="false" name="Configuration Records" owner="5862" />
- <card id="7926" file="card_7926.xml" marked="false" name="Callbacks" owner="7555" />
- <card id="10533" file="card_10533.xml" marked="false" name="Sending" owner="7555" />
- <card id="10992" file="card_10992.xml" marked="false" name="Receiving" owner="7555" />
- <card id="11025" file="card_11025.xml" marked="false" name="Caching" owner="7555" />
- <card id="10250" file="card_10250.xml" marked="false" name="Click" owner="7555" />
- <card id="13679" file="card_13679.xml" marked="false" name="environment" owner="7555" />
- <card id="12925" file="card_12925.xml" marked="false" name="break" owner="7555" />
- <card id="8903" file="card_8903.xml" marked="false" name="event" owner="8636" />
- <card id="12069" file="card_12069.xml" marked="false" name="Window" owner="8636" />
- <card id="8189" file="card_8189.xml" marked="false" name="Key" owner="8636" />
- <card id="12422" file="card_12422.xml" marked="false" name="Menus" owner="8636" />
- <card id="12597" file="card_12597.xml" marked="false" name="OS" owner="8636" />
- </stack>
-